class Student:
    def __init__(self, name, age, scores):
        self.name = name
        self.age = age
        self.scores = scores  # scores 是一个包含三个整数的列表，例如 [90, 92, 88]

    def getname(self):
        return self.name

    def getage(self):
        return self.age

    def get_course(self):
        return max(self.scores)

# 创建一个学生对象
stu = Student("小丸子", 18, [89, 90, 91])
print(f"姓名：{stu.name}")
print(f"年龄：{stu.age}")
print(f"最高分：{max(stu.scores[0],stu.scores[1],stu.scores[2])}")
